﻿<%
content=rs("content")
content = Replace(content, "[name]", ""&qingtian.utf8(session("username"))&"")
content = Replace(content, "[wenhao]", ""&qingtian.qqbbtt&"")
content = Replace(content, "[s]", ""&sid&"")
content = Replace(content, "[d]", ""&qingtian.ddd&"")
content = Replace(content, "[top]", "<a href=#top><img src=""/img/log/backtop.gif"" alt='top'/></a>")
content = Replace(content, "[v]", ""&v&"")
content = Replace(content, "[fv]", ""&fv&"")
content = Replace(content, "[md]", ""&midqd&"")
content = Replace(content, "[waurl]", ""&qingtian.waurl&"")
content = Replace(content, "[waurls]", ""&qingtian.waurls&"")
content = Replace(content, "[tianqi]", ""&qingtian.weather&"")
select case v
case "0"
content = Replace(content, "[se1]", "<input name=""PostField1"" value=""""  size='8' emptyok=""true"" /><anchor>搜文章<go href=""/search_view.asp?sid="&sidd&""" method=""post""><postfield name=""kw"" value=""$(PostField1)"" /></go></anchor><br/>")
content = Replace(content, "[se2]", "<input name=""PostField1"" value=""""  size='8' emptyok=""true"" /><br/><anchor>搜软件<go href=""/search.asp?sid="&sidd&""" method=""post""><postfield name=""kw"" value=""$(PostField1)"" /></go></anchor><br/>")
content = Replace(content, "[se3]", "<input name=""PostField1"" value=""""  size='8'  emptyok=""true"" /><br/><anchor>搜帖子<go href=""/bbs/search.asp?sid="&sidd&""" method=""post""><postfield name=""kw"" value=""$(PostField1)"" /></go></anchor><br/>")
content = Replace(content, "[zi]", "")
content = Replace(content, "[zi0]", "")
content = Replace(content, "[we]", "")
content = Replace(content, "[div]", "<br/>")
content = Replace(content, "[divv]", "")
content = Replace(content, "[sou]", "")
content = Replace(content, "[dao]", "")
content = Replace(content, "[red]", "")
content = Replace(content, "[lu]", "")
content = Replace(content, "[lan]", "")
content = Replace(content, "[hua]", "")
content = Replace(content, "[zhi]", "")
content = Replace(content, "[hei]", "")
content = Replace(content, "[bai]", "")
content = Replace(content, "[hr]", "<br/>")
case "1"
content = Replace(content, "[se1]", "<form action=""/search_view.asp?sid="&sidd&""" method=""post""><input name='kw' emptyok=""true"" size='8' maxlength='128'/><br/><input type=""submit"" value=""搜文章"" /></form><br/>")
content = Replace(content, "[se2]", "<form action=""/search.asp?sid="&sidd&""" method=""post""><input name='kw' emptyok=""true"" size='8' maxlength='128'/><br/><input type=""submit"" value=""搜软件"" /></form><br/>")
content = Replace(content, "[se3]", "<form action=""/bbs/search.asp?sid="&sidd&""" method=""post""><input name='kw' emptyok=""true""  size='8' maxlength='128'/><br/><input type=""submit"" value=""搜帖子"" /></form><br/>")
content = Replace(content, "[zi]", "<span style=""color:#FF5500"">")
content = Replace(content, "[zi0]", "</span>")
content = Replace(content, "[we]", "<div class=""footer"">")
content = Replace(content, "[div]", "</div>")
content = Replace(content, "[divv]", "</div>")
content = Replace(content, "[sou]", "<div class=""block4"">")
content = Replace(content, "[dao]", "<div class=""navi"">")
content = Replace(content, "[red]", "<div style=""background:#FF0000"">")
content = Replace(content, "[lu]", "<div style=""background:#00FF00"">")
content = Replace(content, "[lan]", "<div style=""background:#0000FF"">")
content = Replace(content, "[hua]", "<div style=""background:#FFFF00"">")
content = Replace(content, "[zhi]", "<div style=""background:#FF00FF"">")
content = Replace(content, "[hei]", "<div style=""background:#000000"">")
content = Replace(content, "[bai]", "<div style=""background:#FFFFFF"">")
content = Replace(content, "[hr]", "<hr>")
End Select

%>